{%- assign step = page.step | to_integer %}
{%- assign prev_step = step | minus: 1 %}
{%- assign next_step = step | plus: 1 %}
{%- if page.platform_code == 'openstack' or page.platform_code == 'vsphere' %}
{%- assign ee_only = true %}
{%- else %}
{%- assign ee_only = false %}
{%- endif %}

<div class="gs-revision-tabs" style="margin-top: 50px;">
  <div class="button-group">
    {%- if step > 1 or site.data.getting_started.[page.gs_data_key].installTypes.size == 1 %}
        {% if step > 1 and page.gs_data_key == 'dvp_data' %}
        <a class="button button_default" href="{% if step >2 %}step{{ prev_step }}.html{% else %}{% if page.gs_data_key == 'dkp_data' %}.{% endif %}./{% endif %}">{{ site.data['getting_started']['buttonCaption']['back'][page.lang] }}</a>
        {% endif %}
        {% if page.gs_data_key == 'dkp_data' %}
          <a class="button button_default" href="{% if step >2 %}step{{ prev_step }}.html{% else %}{% if page.gs_data_key == 'dkp_data' %}.{% endif %}./{% endif %}">{{ site.data['getting_started']['buttonCaption']['back'][page.lang] }}</a>
        {% endif %}
        {%- if page.nextStepName %}
          <a class="button button_alt" href="step{{ next_step }}.html">{{ site.data['getting_started']['buttonCaption']['next'][page.lang] }}{{ page.nextStepName }}</a>
        {%- endif %}
    {%- endif %}
  </div>
</div>
